package java101;

import static org.junit.Assert.*;

//import org.junit.Assert;
import org.junit.Test;

public class checkFormatTest {

//	@Test
//	public void testMain() {
//		fail("Not yet implemented");

//	}

	@Test
//	public void testPrintText() {
//		fail("Not yet implemented");
		
//	    assertEquals("", checkFormat.printText(0));
//	    assertEquals("one ", checkFormat.printText(1));
//	    assertEquals("thirteen ", checkFormat.printText(13));
//	    assertEquals("twenty-five ", checkFormat.printText(25));
//	    assertEquals("two hundred ", checkFormat.printText(200));
//	}

//	}

		  public void testWriter() {
		    assertEquals("Three thousand ", checkFormat.printText(3000));
		    assertEquals("Five hundred forty-three thousand two hundred forty-six ", checkFormat.printText(543246));
		    assertEquals("Four million ", checkFormat.printText(4000000));
//		    assertEquals("Five billion two hundred twenty ", checkFormat.printText(5000000220L));
		  }
	}		  

